<div class="scrollbox">
  <table>
    <thead>
      <tr>
        <th class="ser-name">姓名</th>
        <th class="ser-sex">性别</th>
        <th class="ser-cons">当月消费</th>
        <th class="ser-group">分组</th>
        <th>分店</th>
      </tr>
    </thead>
    <tbody>
      <% @students.each do |stu| %>
        <tr>
          <td><%= stu.name %></td>
          <td><%= stu.sex %></td>
          <td><%= stu.student_age_group %></td>
          <td><%= stu.student_group_configuration.group_name if stu.student_group%></td>
          <td><%= stu.studio.name if stu.studio_id %></td>
        </tr>
      <% end %>
    </tbody>
  </table>
</div>
